package com.pf.selection.annotation.convert;

/**
 * 数据字典字段转换
 *
 * @author PanFei
 * @version 1.0.0
 * @createTime 2022/9/10 22:54
 */
public interface Converter {

    /**
     * 获取描述信息
     *
     * @param code
     * @return
     */
    default String getDescription(String code) {
        throw new UnsupportedOperationException("The current operation is not supported by the current converter.");
    }
}
